DebugControllerDBus.this

Create a new #GDebugControllerDBus and synchronously initialize it.

Initializing the object will export the debug object on @connection. The object will remain registered until the last reference to the #GDebugControllerDBus is dropped.

Initialization may fail if registering the object on @connection fails.

  1. this(GDebugControllerDBus* gDebugControllerDBus, bool ownedRef)
  2. this(DBusConnection connection, Cancellable cancellable)
    class DebugControllerDBus

Parameters

connection DBusConnection

a #GDBusConnection to register the debug object on

cancellable Cancellable

a #GCancellable, or %NULL

Return Value

a new #GDebugControllerDBus, or %NULL on failure

Throws

GException on failure. ConstructionException GTK+ fails to create the object.

Meta

Since

2.72